<div id="container">
	<h1><?=$groupe[0]->GRP_LIB // libelle groupe?></h1> 
	<table>
		<tr>
			<th></th>
			<th>progression</th>
			<th>notes</th>
			<th>Commentaire</th>
		</tr>
		<?php
		foreach ($categorys as $value) {
			$PK_CAT = $value->PK_CAT;
			?>
			<tr>
				<td><?=$value->CAT_LIB ?></td>
				<td></td>
				<td></td>
				<td></td>
			</tr>
			<?php
			foreach ($items as $value) {
				if($PK_CAT == $value->FK_CAT){
					echo "<tr>";
					echo "<td>".$value->ITM_LIB."</td>";
					echo "<td>N/A</td>";
					echo '<td><input type="number" name="note"> /5</td>';
					echo '<td><input type="text" name="commentaire"></td>';
					echo '</tr>';
				}
			}
		}
		?>
	</table>
</div>